package vo;

public class MajorunitVO {
	private int majorunit_no;
	private UnivVO univ;
	private CollegeVO college;
	private FacultyVO faculty;
	private MajorVO major;
	private SublineVO subline;
	private int majorunit_delete;

	public MajorunitVO() {}

	public MajorunitVO(int majorunit_no) {
		this.majorunit_no = majorunit_no;
	}
	
	public MajorunitVO(UnivVO univ, CollegeVO college, FacultyVO faculty,
			MajorVO major, SublineVO subline) {
		this.univ = univ;
		this.college = college;
		this.faculty = faculty;
		this.major = major;
		this.subline = subline;
	}

	public MajorunitVO(int majorunit_no, UnivVO univ, CollegeVO college,
			FacultyVO faculty, MajorVO major, SublineVO subline) {
		this.majorunit_no = majorunit_no;
		this.univ = univ;
		this.college = college;
		this.faculty = faculty;
		this.major = major;
		this.subline = subline;
	}

	public MajorunitVO(int majorunit_no, UnivVO univ, CollegeVO college,
			FacultyVO faculty, MajorVO major, SublineVO subline,
			int majorunit_delete) {
		this.majorunit_no = majorunit_no;
		this.univ = univ;
		this.college = college;
		this.faculty = faculty;
		this.major = major;
		this.subline = subline;
		this.majorunit_delete = majorunit_delete;
	}

	public int getMajorunit_no() {
		return majorunit_no;
	}

	public void setMajorunit_no(int majorunit_no) {
		this.majorunit_no = majorunit_no;
	}

	public UnivVO getUniv() {
		return univ;
	}

	public void setUniv(UnivVO univ) {
		this.univ = univ;
	}

	public CollegeVO getCollege() {
		return college;
	}

	public void setCollege(CollegeVO college) {
		this.college = college;
	}

	public FacultyVO getFaculty() {
		return faculty;
	}

	public void setFaculty(FacultyVO faculty) {
		this.faculty = faculty;
	}

	public MajorVO getMajor() {
		return major;
	}

	public void setMajor(MajorVO major) {
		this.major = major;
	}

	public SublineVO getSubline() {
		return subline;
	}

	public void setSubline(SublineVO subline) {
		this.subline = subline;
	}

	public int getMajorunit_delete() {
		return majorunit_delete;
	}

	public void setMajorunit_delete(int majorunit_delete) {
		this.majorunit_delete = majorunit_delete;
	}

	@Override
	public String toString() {
		return "MajorunitVO [majorunit_no=" + majorunit_no + ", univ=" + univ
				+ ", college=" + college + ", faculty=" + faculty + ", major="
				+ major + ", subline=" + subline + ", majorunit_delete="
				+ majorunit_delete + "]";
	}
}
